package demo1;

/**
 * @author GongXincheng
 * @since 2019-09-20 20:33
 */
public class Main {

    public static void main(String[] args) {

        BuilderA builderA = new BuilderA();
        Director.director(builderA);

        Product product = builderA.getProduct();
        product.show();

        BuilderB builderB = new BuilderB();
        Director.director(builderB);
        Product product2 = builderB.getProduct();

        product2.show();
    }

}
